package com.example.logistics_oa.dubbo;


import com.example.comment_oa.dubbo.ChaGongZiDanDubbo;
import com.example.comment_oa.pojos.xinzi.JibenGongzidan;
import com.example.logistics_oa.service.JibenGongzidanService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class ChaGongZiDanDubboImpl implements ChaGongZiDanDubbo {

    @Resource
    JibenGongzidanService jibenGongzidanService;

    @Override
    public int insertAllGongZiDan(JibenGongzidan jibenGongzidan) {
        return jibenGongzidanService.insertAllGongZiDan(jibenGongzidan);
    }
}
